package com.example.environment.enums;

/**
 *  @author: wangbo(1141294273@qq.com)
 *  @Date: 2021/1/29 16:50
 *  @Description: 用户枚举
 */
public enum UserEnum {

    SUCCESS(1,"SUCCESS"), DISABLE(0,"DISABLE");

    private Integer code;
    private String name;

    private UserEnum(Integer code,String name) {
        this.code = code;
        this.name = name();
    }
    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public void setName(String name) {
        this.name = name;
    }
}
